package com.sefon.smarteconomy.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
 
/**
 * 
 * Copyright: Copyright (c) 2018 SefonSoft 
 * 
 * @ClassName: User.java 
 * @Description:客户业务信息
 * 
 * @version: v1.0.0
 * @author: SF2170
 * @by AnalysisExcel2File.java
 * @Date 2018/03/26 22:07:28
 * 
 */
@Entity
@Table(name="client_bus")
public class ClientBus {

	/**
	* 和客户表一一对应
	*/
	@Id 
	@Column(name="`userId`", length=10, columnDefinition="bigint(10) COMMENT '客户id'")
	private Long userId;

	/**
	* 0和1(1:true ,0:false)
	*/
	@Column(name="`exception_flag`", length=2, columnDefinition="int(2) COMMENT '是否异常'")
	private Integer exceptionFlag;

	/**
	* 标签管理key值 如老用户、新用户、普通用户
	*/
	@Column(name="`age_val`", length=255, columnDefinition="varchar(255) COMMENT '用户业务年限'")
	private String ageVal;

	/**
	* 标签管理key值 如风险评级极低、低、中、高、极高 
	*/
	@Column(name="`risk_level`", length=255, columnDefinition="varchar(255) COMMENT '风险评级'")
	private String riskLevel;

	/**
	* 标签管理key值 如黄金用户、砖石用户、白金用户、普通用户
	*/
	@Column(name="`property_level`", length=255, columnDefinition="varchar(255) COMMENT '资产等级'")
	private String propertyLevel;

	/**
	* 标签管理key值 如贡献度高、中、低
	*/
	@Column(name="`contribute_level`", length=255, columnDefinition="varchar(255) COMMENT '贡献等级'")
	private String contributeLevel;

	/**
	* 标签管理key值 如忠诚度高、中、低
	*/
	@Column(name="`loyalty_level`", length=255, columnDefinition="varchar(255) COMMENT '忠诚等级'")
	private String loyaltyLevel;

	/**
	* 标签管理key值 如考察期、形成期、成熟期、退化期、衰亡期
	*/
	@Column(name="`life_cycle`", length=255, columnDefinition="varchar(255) COMMENT '生命周期'")
	private String lifeCycle;

	/**
	* 标签管理key值 如优秀、良好、普通、较差、黑名单
	*/
	@Column(name="`credit_level`", length=255, columnDefinition="varchar(255) COMMENT '信用评分'")
	private String creditLevel;

	/**
	* 使用数值 记录次数
	*/
	@Column(name="`overdue_card`", columnDefinition="int COMMENT '信用卡逾期'")
	private Integer overdueCard;

	/**
	* 使用数值 记录次数
	*/
	@Column(name="`overdue_loans`", columnDefinition="int COMMENT '贷款逾期'")
	private Integer overdueLoans;

	/**
	* 标签管理key值 如极高、高、中、低、极低
	*/
	@Column(name="`overdue_rate`", length=255, columnDefinition="varchar(255) COMMENT '逾期概率'")
	private String overdueRate;

	/**
	* 标签管理key值 如中等、较弱、较强、极强、很弱
	*/
	@Column(name="`demand_manage`", length=255, columnDefinition="varchar(255) COMMENT '理财需求预测'")
	private String demandManage;

	/**
	* 标签管理key值 如中等、较弱、较强、极强、很弱
	*/
	@Column(name="`demand_loans`", length=255, columnDefinition="varchar(255) COMMENT '贷款需求预测'")
	private String demandLoans;

	/**
	* 标签管理key值 如中等、较弱、较强、极强、很弱
	*/
	@Column(name="`demand_aging`", length=255, columnDefinition="varchar(255) COMMENT '分期需求预测'")
	private String demandAging;

	/**
	* 一个0-1之间的小数 根据睡眠特征和销卡特征估算出来的 具体规则不祥
	*/
	@Column(name="`wastage_rate`", precision=12, scale=4, columnDefinition="double COMMENT '流失特征'")
	private Double wastageRate;

	/**
	* 标签管理key值 如短期保持
	*/
	@Column(name="`property_forecast`", length=255, columnDefinition="varchar(255) COMMENT '资产价值预测'")
	private String propertyForecast;

	/**
	* 一个0-100之间的整数值
	*/
	@Column(name="`property_worth`", length=4, columnDefinition="int(4) COMMENT '资产价值'")
	private Integer propertyWorth;

	/**
	* 一个0-100之间的整数值
	*/
	@Column(name="`consume_worth`", length=4, columnDefinition="int(4) COMMENT '消费价值'")
	private Integer consumeWorth;

	/**
	* 一个0-100之间的整数值
	*/
	@Column(name="`loans_worth`", length=4, columnDefinition="int(4) COMMENT '贷款价值'")
	private Integer loansWorth;

	/**
	* 一个0-100之间的整数值
	*/
	@Column(name="`invest_worth`", length=4, columnDefinition="int(4) COMMENT '投资价值'")
	private Integer investWorth;

	/**
	* 标签管理key值 如积分达人
	*/
	@Column(name="`integral_level`", length=255, columnDefinition="varchar(255) COMMENT '积分等级'")
	private String integralLevel;

	/**
	* 这些活跃度，需要找虚拟数据，建议存几个json，反应用户月份活跃度就好，字段长度2000
	*/
	@Column(name="`liveness_ebank`", length=255, columnDefinition="varchar(255) COMMENT '网银活跃度'")
	private String livenessEbank;

	@Column(name="`liveness_pbank`", length=255, columnDefinition="varchar(255) COMMENT '手机银行活跃度'")
	private String livenessPbank;

	@Column(name="`liveness_wbank`", length=255, columnDefinition="varchar(255) COMMENT '微信银行活跃度'")
	private String livenessWbank;

	@Column(name="`activity_count`", length=255, columnDefinition="varchar(255) COMMENT '活动活跃度'")
	private String activityCount;


	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getExceptionFlag() {
		return exceptionFlag;
	}

	public void setExceptionFlag(Integer exceptionFlag) {
		this.exceptionFlag = exceptionFlag;
	}

	public String getAgeVal() {
		return ageVal;
	}

	public void setAgeVal(String ageVal) {
		this.ageVal = ageVal;
	}

	public String getRiskLevel() {
		return riskLevel;
	}

	public void setRiskLevel(String riskLevel) {
		this.riskLevel = riskLevel;
	}

	public String getPropertyLevel() {
		return propertyLevel;
	}

	public void setPropertyLevel(String propertyLevel) {
		this.propertyLevel = propertyLevel;
	}

	public String getContributeLevel() {
		return contributeLevel;
	}

	public void setContributeLevel(String contributeLevel) {
		this.contributeLevel = contributeLevel;
	}

	public String getLoyaltyLevel() {
		return loyaltyLevel;
	}

	public void setLoyaltyLevel(String loyaltyLevel) {
		this.loyaltyLevel = loyaltyLevel;
	}

	public String getLifeCycle() {
		return lifeCycle;
	}

	public void setLifeCycle(String lifeCycle) {
		this.lifeCycle = lifeCycle;
	}

	public String getCreditLevel() {
		return creditLevel;
	}

	public void setCreditLevel(String creditLevel) {
		this.creditLevel = creditLevel;
	}

	public Integer getOverdueCard() {
		return overdueCard;
	}

	public void setOverdueCard(Integer overdueCard) {
		this.overdueCard = overdueCard;
	}

	public Integer getOverdueLoans() {
		return overdueLoans;
	}

	public void setOverdueLoans(Integer overdueLoans) {
		this.overdueLoans = overdueLoans;
	}

	public String getOverdueRate() {
		return overdueRate;
	}

	public void setOverdueRate(String overdueRate) {
		this.overdueRate = overdueRate;
	}

	public String getDemandManage() {
		return demandManage;
	}

	public void setDemandManage(String demandManage) {
		this.demandManage = demandManage;
	}

	public String getDemandLoans() {
		return demandLoans;
	}

	public void setDemandLoans(String demandLoans) {
		this.demandLoans = demandLoans;
	}

	public String getDemandAging() {
		return demandAging;
	}

	public void setDemandAging(String demandAging) {
		this.demandAging = demandAging;
	}

	public Double getWastageRate() {
		return wastageRate;
	}

	public void setWastageRate(Double wastageRate) {
		this.wastageRate = wastageRate;
	}

	public String getPropertyForecast() {
		return propertyForecast;
	}

	public void setPropertyForecast(String propertyForecast) {
		this.propertyForecast = propertyForecast;
	}

	public Integer getPropertyWorth() {
		return propertyWorth;
	}

	public void setPropertyWorth(Integer propertyWorth) {
		this.propertyWorth = propertyWorth;
	}

	public Integer getConsumeWorth() {
		return consumeWorth;
	}

	public void setConsumeWorth(Integer consumeWorth) {
		this.consumeWorth = consumeWorth;
	}

	public Integer getLoansWorth() {
		return loansWorth;
	}

	public void setLoansWorth(Integer loansWorth) {
		this.loansWorth = loansWorth;
	}

	public Integer getInvestWorth() {
		return investWorth;
	}

	public void setInvestWorth(Integer investWorth) {
		this.investWorth = investWorth;
	}

	public String getIntegralLevel() {
		return integralLevel;
	}

	public void setIntegralLevel(String integralLevel) {
		this.integralLevel = integralLevel;
	}

	public String getLivenessEbank() {
		return livenessEbank;
	}

	public void setLivenessEbank(String livenessEbank) {
		this.livenessEbank = livenessEbank;
	}

	public String getLivenessPbank() {
		return livenessPbank;
	}

	public void setLivenessPbank(String livenessPbank) {
		this.livenessPbank = livenessPbank;
	}

	public String getLivenessWbank() {
		return livenessWbank;
	}

	public void setLivenessWbank(String livenessWbank) {
		this.livenessWbank = livenessWbank;
	}

	public String getActivityCount() {
		return activityCount;
	}

	public void setActivityCount(String activityCount) {
		this.activityCount = activityCount;
	}

}
